@extends('desktop.cs.template.left')
@section('cs-content')
<div class="row">
	<div class="books">
		@foreach($feedbacks as $feedback)
		<div class="book">
			<div class="media">
				<div class="media-left">
					<a href="#"><img height="100%" src="{{ $feedback->book->thumbnailUrl() }}" alt="" /></a>
				</div>
				<div class="media-body">
					<h3 class="title"><a href="#">{{ $feedback->book->name }}</a></h3>
					<div class="author">
						<span class="fa fa-fw fa-user-circle-o"></span>
						{{ $feedback->book->author }} &nbsp;|&nbsp;
						{{ mb_substr($feedback->book->category->name, 0, 2) }} &nbsp;|&nbsp;
						{{ $feedback->book->status }}
					</div>
					<div class="desc">
						{!! $feedback->content !!}
					</div>
				</div>
			</div>
		</div>
		@endforeach
	</div>
</div>
<div class="text-center">
	{!! $feedbacks->render() !!}
</div>
@endsection